package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 栏目文件信息
 * */
@Entity
@Table(name="colfile")
public class Colfile implements Serializable {
	private static final long serialVersionUID = -6279963192268213998L;
	private String createUser;//创建用户
	private Date createTime;//创建时间
	private Integer active;//0表示正常，1表示删除
	private String id;
	private String coltypeid;//栏目id
	private String fileid;//文件编号
	private String descs;//对于所属关系的描述描述
	private String relationid;//文件与文档所属的关系编号
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "createUser")
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	@Column(name = "createTime")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "active")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
	@Column(name = "coltypeid")
	public String getColtypeid() {
		return coltypeid;
	}
	public void setColtypeid(String coltypeid) {
		this.coltypeid = coltypeid;
	}
	@Column(name = "fileid")
	public String getFileid() {
		return fileid;
	}
	public void setFileid(String fileid) {
		this.fileid = fileid;
	}
	@Column(name = "descs")
	public String getDescs() {
		return descs;
	}
	public void setDescs(String descs) {
		this.descs = descs;
	}
	@Column(name = "relationid")
	public String getRelationid() {
		return relationid;
	}
	public void setRelationid(String relationid) {
		this.relationid = relationid;
	}
}
